package io.github.jyrmc.deploy.plugin

import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.ExtensionContainer

/**
 * plugin
 *
 * @author jy
 * @since 2023/5/16 11:23
 **/
abstract class BasePlugin : Plugin<Project> {
    inline fun <reified T : Any> ExtensionContainer.create(name: String, vararg constructionArguments: Any): T =
        create(name, T::class.java, *constructionArguments)
}